#ifndef __INPUT_H
#define __INPUT_H
#include "../core/core_main.h"
typedef struct joystick_input
{
    int32_t axis_x1;
    int32_t axis_y1;
    int32_t axis_x2;
    int32_t axis_y2;
    int32_t lt;
    int32_t rt;
    int32_t pov;
    uint8_t button_a;
    uint8_t button_b;
    uint8_t button_x;
    uint8_t button_y;
    uint8_t button_lb;
    uint8_t button_rb;
    uint8_t button_c;
    uint8_t button_z;
} joystick_input;
extern joystick_input joystick_input_1;
void detect_keyboard_input(); // 检测键盘输入
void detect_joystick_input(); // 检测手柄输入
#endif                        // __INPUT_H
